package app.foodnote.db;

public class FoodNote {
	private long _id;
	private String _food_name;
	private String _address;
	private String _phone_number;
	private String _cities;
	private String _other_notes;
	private double _longitude;
	private double _latitude;
	
	// Empty constructor
	public FoodNote(){}
	// Constructor
	public FoodNote(double latitude, double longitude){
		this._latitude = latitude;
		this._longitude = longitude;
	}
	public FoodNote(String foodname, String address, String phonenumber, String cities,
			String othernote){
		this._food_name = foodname;
		this._address = address;
		this._phone_number = phonenumber;
		this._cities = cities;
		this._other_notes = othernote;
	}
	public FoodNote(long id, String foodname, String address, String phonenumber, String cities,
			String othernote, double longitude, double latitude){
		this._id = id;
		this._food_name = foodname;
		this._address = address;
		this._phone_number = phonenumber;
		this._cities = cities;
		this._other_notes = othernote;
		this._longitude = longitude;
		this._latitude = latitude;
	}
	public FoodNote(String foodname, String address, String phonenumber, String cities,
			String othernote, double longitude, double latitude){
		this._food_name = foodname;
		this._address = address;
		this._phone_number = phonenumber;
		this._cities = cities;
		this._other_notes = othernote;
		this._longitude = longitude;
		this._latitude = latitude;
	}
	/**
	 * @return the id
	 */
	public long getId() {
		return _id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this._id = id;
	}
	/**
	 * @return the food_name
	 */
	public String getFoodName() {
		return _food_name;
	}
	/**
	 * @param food_name the food_name to set
	 */
	public void setFoodName(String food_name) {
		this._food_name = food_name;
	}
	/**
	 * @return the phone_number
	 */
	public String getPhoneNumber() {
		return _phone_number;
	}
	/**
	 * @param phone_number the phone_number to set
	 */
	public void setPhoneNumber(String phone_number) {
		this._phone_number = phone_number;
	}
	/**
	 * @return the other_notes
	 */
	public String getOtherNotes() {
		return _other_notes;
	}
	/**
	 * @param other_notes the other_notes to set
	 */
	public void setOtherNotes(String other_notes) {
		this._other_notes = other_notes;
	}
	/**
	 * @return the longitude
	 */
	public double getLongitude() {
		return _longitude;
	}
	/**
	 * @param longitude the longitude to set
	 */
	public void setLongitude(double longitude) {
		this._longitude = longitude;
	}
	/**
	 * @return the latitude
	 */
	public double getLatitude() {
		return _latitude;
	}
	/**
	 * @param latitude the latitude to set
	 */
	public void setLatitude(double latitude) {
		this._latitude = latitude;
	}
	/**
	 * @return the address
	 */
	public String getAddress() {
		return _address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this._address = address;
	}
	/**
	 * @return the cities
	 */
	public String getCities() {
		return _cities;
	}
	/**
	 * @param cities the cities to set
	 */
	public void setCities(String cities) {
		this._cities = cities;
	}
	@Override
	public String toString(){
		return this._food_name;
	}
}
